home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Utilities / Sync FKEY 1.0 / sync README next >
Encoding:
Text File  |  1994-11-02  |  1.8 KB  |  50 lines  |  [ttro/ttxt]

  1. sync FKEY
  2.  
  3. Written 2/5/93 by Allon Stern
  4.  
  5. What does it do?
  6.  
  7. Whenever programs write to a disk, they go through a cache, which is in
  8. memory.  If the part of the file which is being written to is in the cache,
  9. then the change takes place in memory, to be written out to the disk later.
  10. This saves time on I/O; having a large disk cache can make disk-intensive
  11. applications go much faster.
  12.  
  13. The drawback of having a large cache, though, is if you crash, the information
  14. in the cache won't have been written out to disk.  Any changes that
  15. were made will be lost.
  16.  
  17. The sync FKEY goes through all mounted volumes and writes out any
  18. outstanding information which may still be in the cache.  It does this
  19. by using PBFlushVol.
  20.  
  21. To give user feedback, for each volume flushed, it plays a short sound.
  22. Thus if you have three volumes mounted, it will play the sound three
  23. times.
  24.  
  25. If an error occured in the PBFlushVol call, an error dialog will appear.
  26. If the error dialog CAN'T appear (due to serious trouble), sync will
  27. SysBeep three times.
  28.  
  29.  
  30. How to install:
  31.  
  32. Using ResEdit, copy the FKEY resource from the "sync" file into your
  33. system file.  By default, it is FKEY ID# 7, but you can change this
  34. to suit your liking.  The resource id determines which number key
  35. to press (along with command and shift) to activate the FKEY.
  36. No rebooting is necessary.
  37.  
  38. If you want it to play a sound when flushing a volume, drag the
  39. "Sync sound" file into your system suitcase (system 7 users) or
  40. install the 'snd ' resource into your system file using ResEdit
  41. or a sound mover program.  If you want a different sound to play,
  42. you must name it "Sync sound" and install it in your system.
  43. If the sound isn't present, the FKEY will still work, but it won't
  44. give any feedback.
  45.  
  46.  
  47. Known bugs:
  48.  
  49. For some reason, the error dialog has a single garbage character
  50. after the error message.